#pragma once

#include "Socket.h"
#include "EventLoop.h"
#include <string>
#include"Channel.h"
#include"InetAddress.h"
#include"Epoll.h"
#include<vector>

class Acceptor
{
private:
    EventLoop* loop_;
    Socket* servsock_;
    Channel* acceptchannel_;
public:
    Acceptor(EventLoop* loop,const std::string&ip,const uint16_t& port);
    ~Acceptor();
};


